home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48hor1
/
ds.doc
< prev
next >
Wrap
Text File
|
1995-03-31
|
971b
|
21 lines
Author: Joseph K. Horn; based on Kevin Jessup's QSDIR on this disk.
Note: Kevin also wrote DSORT on the HORN1 disk.
Requires James Donnelly's TOOL LIBRARY.
Here is a machine-code sort version of the QSDIR directory
sorter. Remove the first and last command from the DS program,
and it becomes a generic "name list sorter", which can be used
to create a program functionally identical to QSDIR; just
use 15 TVARS to get a list of directories, VARS SDIFF to get a
list of everything else, and sort away!
INSTRUCTIONS: with DS and LISP in HOME, executing DS in any
subdirectory will sort its vars into alphabetical order as
quickly as the HP 48 is capable(?) The speed is due to the use
of Jim Donnelly's QSORT, written in machine language. The only
way I can imagine making DS faster would involve rewriting the
ORDER command, which is the bottleneck here.
-- Joseph K. Horn -- (714) 858-0920 -- Peripheral Vision, Ltd.